﻿<Window x:Class="IISAutoDeployment.SecondaryNodeInput"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Secondary Node Input" Height="269" Width="300" WindowStyle="ToolWindow" Topmost="True" WindowStartupLocation="CenterScreen">
    <Grid Background="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" Margin="0,0,-8,0">
        <TextBox x:Name="NodeName" HorizontalAlignment="Left" Height="23" Margin="10,46,0,0" TextWrapping="Wrap" ToolTip="Please enter FQN for secondary node" VerticalAlignment="Top" Width="272"/>
        <TextBlock HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top"><Run Text="FQN of secondary IIS node:"/><Run/></TextBlock>
        <Button Content="OK" Click="IISNodeButton_OnClick" HorizontalAlignment="Left" Margin="207,212,0,0" VerticalAlignment="Top" Width="75"/>
        <Button Content="Cancel" Click="Cancel_OnClick" HorizontalAlignment="Left" Margin="10,212,0,0" VerticalAlignment="Top" Width="75"/>
        <CheckBox x:Name="altBackChecked" Content="Optional: Set alternative Backup location?" HorizontalAlignment="Left" Margin="10,82,0,0" VerticalAlignment="Top" ToolTip="Select this checkbox if you want to choose an alternative backup location on the remote Node. Otherwise, the same folder structure will be used as on primary"/>
        <Label Content="Select Backup Location" HorizontalAlignment="Left" Margin="17,98,0,0" VerticalAlignment="Top" Width="260"/>
        <Label Content="Set drive: " HorizontalAlignment="Left" Margin="55,122,-15,0" VerticalAlignment="Top" Width="260"/>
        <TextBox x:Name="BackupDrive" Text="D" HorizontalAlignment="Left" Margin="115,127,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="26" Width="155"/>
        <Button x:Name="BackupSelectFileButton" Click="BackupSelectFileButton_OnClick" Content="Select..." HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Margin="10,158,0,0" Height="29"/>
        <TextBlock x:Name="BackupFileNameTextBlock" HorizontalAlignment="Left" Margin="115,158,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="29" Width="155"/>
    </Grid>
</Window>
